#!/bin/sh

branch=(git symbolic-ref --short HEAD)

if [ "branch" = "master" ]; then
  echo "Error: Directly committing to master branch is not allowed!"
  exit 1
fi